package br.com.financas.bean;

import br.com.financas.util.JSFMessageUtil;

public class AbstractBean {

	protected void displayWarnMessageToUser(String key, Object... params) {
		JSFMessageUtil.sendWarnMessageToUser(key, params);
	}
	
	protected void displayErrorMessageToUser(String key, Object... params) {
		//JSFMessageUtil.sendErrorMessageToUser(key, params);
	}
	
	protected void displayInfoMessageToUser(String key, Object... params) {
		JSFMessageUtil.sendInfoMessageToUser(key, params);
	}
	
	protected String getMessage(String key, Object... params) {
		return JSFMessageUtil.getMessage(key, params);
	}
	
}
